function positionMessage1() {
    var pMessage = document.getElementById("message1");
    pMessage.style.top = "0px";
    pMessage.style.left = "0px";
    pMessage.style.position = "absolute";
    moveElement("message1", 300, 600, 1);
}

function positionMessage2() {
    var pMessage = document.getElementById("message2");
    pMessage.style.top = "0px";
    pMessage.style.left = "0px";
    pMessage.style.position = "absolute";
    moveElement("message2", 300, 300, 1);
}
console.log(typeof function() {console.log("测试");});
console.log(typeof positionMessage2);
addLoadEvent(positionMessage2);
addLoadEvent(positionMessage1);


